package gov.chinatax.ctcps.generator.form;

import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="YSZB_ZT"
 *     
*/
public class YszbZtHisForm implements Serializable {

    /** identifier field */
    private String _tzztbh;
    
    private String _cfztbh;

    /** persistent field */
    private String _nd;

    /** nullable persistent field */
    private String _cfmc;

    /** persistent field */
    private String _cflxDm;

    /** persistent field */
    private String _dwbh;

    /** nullable persistent field */
    private String _sjzt;

    /** nullable persistent field */
    private String _cjsj;

    /** nullable persistent field */
    private String _xdsj;

    /** nullable persistent field */
    private String _xjzt;

    /** nullable persistent field */
    private String _qrsj;

    /** nullable persistent field */
    private String _sjcfztbh;

    /** nullable persistent field */
    private String _bz;
    
    private String _sbsj;
    
    private String _bhyy;

    /** nullable persistent field */
    private String _zt1;

    /** nullable persistent field */
    private String _zt2;
    
    /** nullable persistent field */
    private String _zt3;

    /** nullable persistent field */
    private String _zt4;

    /** full constructor */
    public YszbZtHisForm(String cfztbh, String nd, String cfmc, String cflxDm, String dwbh, String sjzt, String cjsj, String xdsj, String xjzt, String qrsj, String sjcfztbh, String bz, String zt1, String zt2) {
        this._tzztbh = cfztbh;
        this._nd = nd;
        this._cfmc = cfmc;
        this._cflxDm = cflxDm;
        this._dwbh = dwbh;
        this._sjzt = sjzt;
        this._cjsj = cjsj;
        this._xdsj = xdsj;
        this._xjzt = xjzt;
        this._qrsj = qrsj;
        this._sjcfztbh = sjcfztbh;
        this._bz = bz;
        this._zt1 = zt1;
        this._zt2 = zt2;
    }

    /** default constructor */
    public YszbZtHisForm() {
    }

    /** minimal constructor */
    public YszbZtHisForm(String cfztbh, String nd, String cflxDm, String dwbh) {
        this._tzztbh = cfztbh;
        this._nd = nd;
        this._cflxDm = cflxDm;
        this._dwbh = dwbh;
    }


    public String getTzztbh() {
		return _tzztbh;
	}

	public void setTzztbh(String tzztbh) {
		this._tzztbh = tzztbh;
	}

	/** 
     *            @hibernate.property
     *             column="ND"
     *             length="4"
     *             not-null="true"
     *         
     */
    public String getNd() {
        return this._nd;
    }

    public void setNd(String nd) {
        this._nd = nd;
    }

    /** 
     *            @hibernate.property
     *             column="CFMC"
     *             length="50"
     *         
     */
    public String getCfmc() {
        return this._cfmc;
    }

    public void setCfmc(String cfmc) {
        this._cfmc = cfmc;
    }

    /** 
     *            @hibernate.property
     *             column="CFLX_DM"
     *             length="2"
     *             not-null="true"
     *         
     */
    public String getCflxDm() {
        return this._cflxDm;
    }

    public void setCflxDm(String cflxDm) {
        this._cflxDm = cflxDm;
    }

    /** 
     *            @hibernate.property
     *             column="DWBH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getDwbh() {
        return this._dwbh;
    }

    public void setDwbh(String dwbh) {
        this._dwbh = dwbh;
    }

    /** 
     *            @hibernate.property
     *             column="SJZT"
     *             length="2"
     *         
     */
    public String getSjzt() {
        return this._sjzt;
    }

    public void setSjzt(String sjzt) {
        this._sjzt = sjzt;
    }

    /** 
     *            @hibernate.property
     *             column="CJSJ"
     *             length="14"
     *         
     */
    public String getCjsj() {
        return this._cjsj;
    }

    public void setCjsj(String cjsj) {
        this._cjsj = cjsj;
    }

    /** 
     *            @hibernate.property
     *             column="XDSJ"
     *             length="14"
     *         
     */
    public String getXdsj() {
        return this._xdsj;
    }

    public void setXdsj(String xdsj) {
        this._xdsj = xdsj;
    }

    /** 
     *            @hibernate.property
     *             column="XJZT"
     *             length="2"
     *         
     */
    public String getXjzt() {
        return this._xjzt;
    }

    public void setXjzt(String xjzt) {
        this._xjzt = xjzt;
    }

    /** 
     *            @hibernate.property
     *             column="QRSJ"
     *             length="14"
     *         
     */
    public String getQrsj() {
        return this._qrsj;
    }

    public void setQrsj(String qrsj) {
        this._qrsj = qrsj;
    }

    /** 
     *            @hibernate.property
     *             column="SJCFZTBH"
     *             length="50"
     *         
     */
    public String getSjcfztbh() {
        return this._sjcfztbh;
    }

    public void setSjcfztbh(String sjcfztbh) {
        this._sjcfztbh = sjcfztbh;
    }

    /** 
     *            @hibernate.property
     *             column="BZ"
     *             length="400"
     *         
     */
    public String getBz() {
        return this._bz;
    }

    public void setBz(String bz) {
        this._bz = bz;
    }

    /** 
     *            @hibernate.property
     *             column="ZT1"
     *             length="50"
     *         
     */
    public String getZt1() {
        return this._zt1;
    }

    public void setZt1(String zt1) {
        this._zt1 = zt1;
    }

    /** 
     *            @hibernate.property
     *             column="ZT2"
     *             length="50"
     *         
     */
    public String getZt2() {
        return this._zt2;
    }

    public void setZt2(String zt2) {
        this._zt2 = zt2;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("cfztbh", getTzztbh())
            .toString();
    }

    public boolean equals(Object other) {
        if ( !(other instanceof YszbZtHisForm) ) return false;
        YszbZtHisForm castOther = (YszbZtHisForm) other;
        return new EqualsBuilder()
            .append(this.getTzztbh(), castOther.getTzztbh())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getTzztbh())
            .toHashCode();
    }

	public String getSbsj() {
		return _sbsj;
	}

	public void setSbsj(String sbsj) {
		this._sbsj = sbsj;
	}

	public String getBhyy() {
		return _bhyy;
	}

	public void setBhyy(String bhyy) {
		this._bhyy = bhyy;
	}

	public String getZt3() {
		return _zt3;
	}

	public void setZt3(String zt3) {
		this._zt3 = zt3;
	}

	public String getZt4() {
		return _zt4;
	}

	public void setZt4(String zt4) {
		this._zt4 = zt4;
	}

	public String getCfztbh() {
		return _cfztbh;
	}

	public void setCfztbh(String cfztbh) {
		this._cfztbh = cfztbh;
	}

}
